const express = require("express");
const signInRouter = express.Router();
const { verifyToken } = require("../jsonwebtoken/index");

const {
  GetUserSignInDateList,
} = require("../API/SignIn/GetUserSignInDateList");

const { GetUserSignInToDay } = require("../API/SignIn/GetUserSignInToDay");
const { SignInByUserId } = require("../API/SignIn/SignInByUserId");
const { BuSignIn } = require("../API/SignIn/BuSignIn");
const { GetSentence } = require("../API/SignIn/GetSentence");

signInRouter.get("/GetUserSignInDateList", verifyToken, GetUserSignInDateList);
signInRouter.post("/GetUserSignInToDay", verifyToken, GetUserSignInToDay);
signInRouter.post("/SignInByUserId", verifyToken, SignInByUserId);
signInRouter.post("/BuSignIn", verifyToken, BuSignIn);
signInRouter.post("/GetSentence", GetSentence);

module.exports = signInRouter;
